package com.ibm.cps.message;

public class MessageFields {

	public static final String STATUS_CODE = "Code";
	public static final String RETURN_MESSAGE = "Message";
	public static final String NAME = "name";
	public static final String DATATYPE = "datatype";
	public static final String ISTIME = "istime";
	public static final String ISKEY = "iskey";
	public static final String PUBLISHER_TYPE = "publisher";
	public static final String TSKEY = "k";
	public static final String TIMESTAMP = "t";
	public static final String GROUPID = "groupid";
	public static final String SOURCE = "source";
	public static final String DATASOURCE = "datasource";
	public static final String NODERED = "node-red";
	public static final String GROUP_TYPE_SQL = "sql";
	public static final String PROCESSOR_GROUP_CONTENT = "content";
	public static final String DISPLAY_NAME = "dispalyname";

	public static final String PROTOCOL_TYPE = "protocol";
	public static final String SCHAME_FIELD_NAME = "schemafieldname";
	public static final String HOSTNAME = "hostname";
	public static final String USERNAME = "username";
	public static final String PASSWORD = "password";
	public static final String PORT = "port";
	public static final String STATUS = "status";
	public static final String PROCESSORS = "processors";

	public static final String TENANTID = "tenantid";
	public static final String TYPE = "type";
	public static final String USERID = "userid";
	public static final String SCHEMAID = "schemaid";
	public static final String SCHEMA = "schema";
	public static final String PROCESSORID = "processorid";
	public static final String PARENTPROCESSORS = "parentprocessors";
	public static final String SIZE = "size";
	public static final String STEP = "step";
	public static final String ATTRIBUTENAME = "attributename";
	public static final String COEFFICIENT = "coefficient";
	public static final String RULENAME = "ruleName";
	public static final String RULE = "rule";
	public static final String MODEL = "model";
	public static final String TOPICNAME = "topicname";
	public static final String FEEDBACK_INFO = "feedback";
	public static final String PROCESSOR_SUFFIX = "_rule";

	public static final String INPUT_TYPE = "input";
	public static final String MESSAGEQUEUE = "messagequeue";
	public static final String GRAPHITE = "graphite";
	public static final String RULE_TYPE = "rule";
	public static final String DFT_TYPE = "buffered dft";
	public static final String BATCH_DFT_TYPE = "batch_dft";
	public static final String SLIDING_WINDOW_TYPE = "sliding_window";
	public static final String COUNT_WINDOW_TYPE = "counting_window";
	public static final String NAIVE_RULE = "Naive_Rule_Engine";
	public static final String PUBLISH_TYPE = "output";
	public static final String DESTINATION = "destination";
	public static final String EMAIL_TYPE = "mail";
	public static final String LOG_TYPE = "log";
	public static final String DESTINATION_MAIL = "destinationmail";
	public static final String VARIANCE_TYPE = "variance";
	public static final String SCHEMA_TYPE = "schema";
	public static final String AVERAGE_TYPE = "average";
	public static final String EXTREME_TYPE = "extremum";
	public static final String PRICE_VARIATION_TYPE = "variance ratio";
	public static final String PROJECTION_TYPE = "projection";
	public static final String SCALAR_CALCULATION = "scalar calculation";
	public static final String VECTOR_CALCULATION = "vector calculation";
	public static final String VECTOR_FUNCTION = "vector function";
	public static final String VECTOR_PROJECTION = "vector projection";
	public static final String SEYREN_PUBLISH_TYPE = "alerts";
	public static final String GROUP_TYPE_TAB = "tab";
	public static final String SCHEMA_FORMAT_TYPE = "schema_type";
	public static final String DTW_TYPE = "dtw"; // add by gxj for dtw.
	public static final String WINDOW_STEP = "step";
	public static final String WINDOW_SIZE = "size";
	public static final String OUTPUT_FIELD_NAME = "output_field_name";
	public static final String INPUT_FIELD = "target";
	public static final String OUTPUT_FIELD = "result";
	
	// convert from descriptor
	public static final String DFT_VECTOR_TYPE = "dft";
	public static final String MAX_TYPE = "max";
	public static final String MIN_TYPE = "min";
	
	// for seyren.
	public static final String MONGO_SEYREN_URL = "mongo_seyren_url";
	public static final String MONGO = "mongo";
	public static final String MONGO_SEYREN_COLLECTION = "mongo_seyren_collection";
	public static final String PUBLISHNAME="name";
	public static final String FIELNAME = "filename";
	public static final String CHECKID = "checkId";
	public static final String SEYRENRULE = "seyrenrule";
	public static final String MONGO_PUBLISHER = "mongo_publisher";
	public static final String UNDEFINED_PROCESSOR = "undefined";
	
	// for credential
	public static final String ACCESS_TOKEN= "token";
	
	// for static joint
	public static final String STATIC_JOINT = "static_joint";
	// for static mongo datasource
	public static final String STATIC_MONGO_URL = "static_mongo_url";
	
	public static final String SIMPLE_INPUT_TYPE = "simple_input";
	
	//for mongo joiner
	public static final String KeyName =  "keyName";

	//for multi-tenants
	public static final String TENANT_TYPE = "tenant_type";
	public static final String NORMAL_TENANT = "135202c017047c1cbdfafc03";

}
